package javax.realtime;

public abstract class Clock {
    private static ClockImpl realTimeClock;

    public abstract RelativeTime getEpochOffset();

    public static Clock getRealtimeClock() {
        return realTimeClock;
    }

    public abstract RelativeTime getResolution();

    public abstract AbsoluteTime getTime();

    public abstract AbsoluteTime getTime(AbsoluteTime paramAbsoluteTime);

    public abstract void setResolution(RelativeTime paramRelativeTime);

    private static class ClockImpl extends Clock {
        public RelativeTime getEpochOffset() {
            return null;
        }

        public RelativeTime getResolution() {
            return null;
        }

        public void setResolution(RelativeTime paramRelativeTime) {
            throw new UnsupportedOperationException();
        }

        public AbsoluteTime getTime(AbsoluteTime paramAbsoluteTime) {
            return null;
        }

        public AbsoluteTime getTime() {
            return null;
        }
    }
}